package com.zjhcsoft.common.object;
import java.util.HashMap;

public class PageObj {
	
	private String limit ;
	private String start ;
	
	public PageObj(){
		this.start="0";
		this.limit="10";
	}
	
	public PageObj(String start, String limit){
		this.start=start;
		this.limit=limit;
		
	}
	
	public String getLimit() {
		return limit;
	}

	public void setLimit(String limit) {
		this.limit = limit;
	}

	public String getStart() {
		return start;
	}

	public void setStart(String start) {
		this.start = start;
	}

	public HashMap<String, String> toMap() {

		HashMap<String, String> map = new HashMap<String, String>();

		map.put("limit", limit);

		map.put("start", start);

		return map;
	}
}
